package com.sy.pet.dto;

import lombok.Data;

import javax.validation.constraints.Min;

/**
 * @Author: liangSY
 * @Date: 2021/6/24
 * @ClassName: PageDto
 * @Description: PageDto描述
 */
@Data
public class PageDTO {

    @Min(value = 0,message = "页码必须大于0")
    private Integer page;

    @Min(value = 0,message = "页大小必须大与0")
    private Integer size;

}
